﻿using System.ComponentModel.DataAnnotations;

namespace GameView.Services
{
    public partial class NotificationEntity
    {
        public int Id { get; set; }

        public int MessageRange { get; set; } = 0;
        public string MessageReciver { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 消息标题
        /// </summary>
        [StringLength(256)]
        public string Title { get; set; }

        /// <summary>
        /// 消息内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 发布人
        /// </summary>
        public string PublishUser { get; set; }

        /// <summary>
        /// 发布时间
        /// </summary>
        public string Time { get; set; }

        /// <summary>
        /// 消息状态
        /// </summary>
        public int State { get; set; }
    }
}